﻿      $(document).ready(function(){
        if($('body').is(':has(.update2)')){
          
        }else {
          $("#updated").attr("id","updating");
          $("#updating").html("There is a new version, you can get it from <a href='http://www.th3g3ek.com'>here</a>");
        }
      });
      function check_for_update(){
        if($('body').is(':has(.update2)')){
          alert("Thank you, you use the latest version");
        }else {
          alert("Yes there is a new update in \n\n\nhttp://www.dev-point.com/vb/index.php");
        }
      }
      function showLoading(){
        $("#checkForUpdateLoading").css("display","block");
      }
      function hideLoading(){
        $("#checkForUpdateLoading").css("display","none");
      }